package com.smarthome.emqx_to_mysql;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public void addUser(User user){
        userMapper.addUser(user);
    }
}
